<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Service Worker 缓存示例</title>
  <link rel="stylesheet" href="styles.css">
</head>
<script src="script.js"></script>
<!--<body>
  <h1>这是一个缓存示例页面</h1>
  <img src="image.png" alt="示例图片">

  <script src="script.js"></script>

  <script>
    if ('serviceWorker' in navigator) {
      navigator.serviceWorker.register('sw.js')
      .then(registration => {
          console.log('Service Worker 注册成功:', registration);
        })
      .catch(error => {
          console.error('Service Worker 注册失败:', error);
        });
    }
  </script>
</body>-->
<body>
  <div>babel 解析器</div>
</body>
</html>